/*!
 * types.h
 * Definitions of custom data types for Qong.
 * \author	Jon "delrio" Cox
 * \date	February 1, 2011
 */

//------------------------------------------------------------------------//
//  Qong                                                                  //
//  Copyright (C) 2011 Jon Cox                                            //
//                                                                        //
//  This program is free software: you can redistribute it and/or modify  //
//  it under the terms of the GNU General Public License as published by  //
//  the Free Software Foundation, either version 3 of the License, or     //
//  (at your option) any later version.                                   //
//                                                                        //
//  This program is distributed in the hope that it will be useful,       //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of        //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         //
//  GNU General Public License for more details.                          //
//                                                                        //
//  You should have received a copy of the GNU General Public License     //
//  along with this program.  If not, see <http://www.gnu.org/licenses/>. //
//------------------------------------------------------------------------//

#ifndef INCLUDE_TYPES_H
#define INCLUDE_TYPES_H

//! Boolean data type.
typedef enum
{
	false,
	true
} bool_t;

//! Return codes.
typedef enum
{
	OKAY,
	INIT_SDL_FAILURE
} code_t;

//! Menu commands.
typedef enum
{
	m_NONE,
	m_SINGLE,
	m_MULTI,
	m_SETTINGS,
	m_CREDITS,
	m_QUIT,
	m_FORCEQUIT,
	m_BACK,
	m_YES,
	m_NO
} mSelect_t;

//! User event codes.
typedef enum
{
	t_RUNLOOP,
	t_ENDGAME,
	t_ENDPLAYER,
	t_SCORE
} uEventCode_t;

#endif
